#ifndef WXSAUTORESOURCETREEIMAGE_H
#define WXSAUTORESOURCETREEIMAGE_H


class wxString;
class wxBitmap;

class wxsAutoResourceTreeImage {
  public:


    wxsAutoResourceTreeImage( const wxString& FileName, bool DontFree = false );


    wxsAutoResourceTreeImage( const wxBitmap& Image, bool DontFree = false );


    ~wxsAutoResourceTreeImage();


    inline int GetIndex() const { return m_Index; }

  private:

    int  m_Index;
    bool m_DontFree;
};



#endif
